package mj.predictor;
 
import java.util.ArrayList;
 
/**
 *
 * @author dirkkoh
 */
public class MahJongAnalysis {
        private String Opponent;
        private ArrayList<MahJongProbability> MJAnalysisReport = new ArrayList<MahJongProbability>();
       
        public MahJongAnalysis(String opponent, ArrayList<MahJong> mJSet) {
                this.Opponent = opponent;
                for (int i = 0; i < 17; i++) {
                        MJAnalysisReport.add(new MahJongProbability(i, mJSet, opponent));
                }
        }
       
        public void PrintMahJongAnalysisReport() {
                for (int i = 0; i < MJAnalysisReport.size(); i++) {
                        System.out.println((i + 1) + ") " +
                                        MJAnalysisReport.get(i).GetMJDesc() + " | " +
                                        MJAnalysisReport.get(i).GetX1Prob() + " | " +
                                        MJAnalysisReport.get(i).GetX2Prob() + " | " +
                                        MJAnalysisReport.get(i).GetX3Prob() + " | " +
                                        MJAnalysisReport.get(i).GetX4Prob());
                }
        }
       
       
}